

/**
 * The test class TestEntreprise.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class TestEntreprise extends junit.framework.TestCase
{

    /**
     * Default constructor for test class TestEntreprise
     */
    public TestEntreprise()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    protected void setUp()
    {

	}

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    protected void tearDown()
    {
    }

	public void testEstEntrepise()
	{
		Entreprise entreprise2 = new Entreprise();
		entreprise2.setNomE("Microsoft");
		assertEquals("Microsoft", entreprise2.getNomE());
		entreprise2.setAdresseE("Paris");
		assertEquals("Paris", entreprise2.getAdresseE());
	}
	
	public void testValDefaut()
	{
		Entreprise entreprise2 = new Entreprise();
		assertEquals("Apple", entreprise2.getNomE());
		assertEquals("La Defense", entreprise2.getAdresseE());
	}
}

